/**
 * 
 */
package dstation.databeans;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * @author Evan
 *
 */
public class SensorBean implements IsSerializable{
	public enum SensorType{
		BOM, RF, ENCODER
	}
	
	private int sensorid;
	private String name;
	private SensorType type;
	/**
	 * @return the id
	 */
	public int getId() {
		return sensorid;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @return the type
	 */
	public SensorType getType() {
		return type;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.sensorid = id;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(SensorType type) {
		this.type = type;
	}
}
